﻿<%@ Control Language="C#" ClassName="LogFields" %>

<asp:FormView ID="FormView1" runat="server">
	<ItemTemplate>
		<table border="0" cellpadding="3" cellspacing="1">
			<tr>
        <td class="literal"><asp:Label ID="lbldataEventId" runat="server" Text="Event Id:" AssociatedControlID="dataEventId" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataEventId" Text='<%# Bind("EventId") %>'></asp:TextBox><asp:RangeValidator ID="RangeVal_dataEventId" runat="server" Display="Dynamic" ControlToValidate="dataEventId" ErrorMessage="Invalid value" MaximumValue="2147483647" MinimumValue="-2147483648" Type="Integer"></asp:RangeValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataPriority" runat="server" Text="Priority:" AssociatedControlID="dataPriority" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataPriority" Text='<%# Bind("Priority") %>'></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataPriority" runat="server" Display="Dynamic" ControlToValidate="dataPriority" ErrorMessage="Required"></asp:RequiredFieldValidator><asp:RangeValidator ID="RangeVal_dataPriority" runat="server" Display="Dynamic" ControlToValidate="dataPriority" ErrorMessage="Invalid value" MaximumValue="2147483647" MinimumValue="-2147483648" Type="Integer"></asp:RangeValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataSeverity" runat="server" Text="Severity:" AssociatedControlID="dataSeverity" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataSeverity" Text='<%# Bind("Severity") %>' MaxLength="32"></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataSeverity" runat="server" Display="Dynamic" ControlToValidate="dataSeverity" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataTitle" runat="server" Text="Title:" AssociatedControlID="dataTitle" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataTitle" Text='<%# Bind("Title") %>'  TextMode="MultiLine"  Width="250px" Rows="5"></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataTitle" runat="server" Display="Dynamic" ControlToValidate="dataTitle" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataTimestamp" runat="server" Text="Timestamp:" AssociatedControlID="dataTimestamp" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataTimestamp" Text='<%# Bind("Timestamp", "{0:d}") %>' MaxLength="10"></asp:TextBox><asp:ImageButton ID="cal_dataTimestamp" runat="server" SkinID="CalendarImageButton" OnClientClick="javascript:showCalendarControl(this.previousSibling);return false;" /><asp:RequiredFieldValidator ID="ReqVal_dataTimestamp" runat="server" Display="Dynamic" ControlToValidate="dataTimestamp" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataMachineName" runat="server" Text="Machine Name:" AssociatedControlID="dataMachineName" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataMachineName" Text='<%# Bind("MachineName") %>' MaxLength="32"></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataMachineName" runat="server" Display="Dynamic" ControlToValidate="dataMachineName" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataAppDomainName" runat="server" Text="App Domain Name:" AssociatedControlID="dataAppDomainName" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataAppDomainName" Text='<%# Bind("AppDomainName") %>'  TextMode="MultiLine"  Width="250px" Rows="5"></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataAppDomainName" runat="server" Display="Dynamic" ControlToValidate="dataAppDomainName" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataProcessId" runat="server" Text="Process Id:" AssociatedControlID="dataProcessId" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataProcessId" Text='<%# Bind("ProcessId") %>'  TextMode="MultiLine"  Width="250px" Rows="5"></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataProcessId" runat="server" Display="Dynamic" ControlToValidate="dataProcessId" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataProcessName" runat="server" Text="Process Name:" AssociatedControlID="dataProcessName" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataProcessName" Text='<%# Bind("ProcessName") %>'  TextMode="MultiLine"  Width="250px" Rows="5"></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataProcessName" runat="server" Display="Dynamic" ControlToValidate="dataProcessName" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataThreadName" runat="server" Text="Thread Name:" AssociatedControlID="dataThreadName" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataThreadName" Text='<%# Bind("ThreadName") %>'  TextMode="MultiLine"  Width="250px" Rows="5"></asp:TextBox>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataWin32ThreadId" runat="server" Text="Win32 Thread Id:" AssociatedControlID="dataWin32ThreadId" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataWin32ThreadId" Text='<%# Bind("Win32ThreadId") %>' MaxLength="128"></asp:TextBox>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataMessage" runat="server" Text="Message:" AssociatedControlID="dataMessage" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataMessage" Text='<%# Bind("Message") %>'  TextMode="MultiLine"  Width="250px" Rows="5"></asp:TextBox>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataFormattedMessage" runat="server" Text="Formatted Message:" AssociatedControlID="dataFormattedMessage" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataFormattedMessage" Text='<%# Bind("FormattedMessage") %>'  TextMode="MultiLine"  Width="250px" Rows="5"></asp:TextBox>
				</td>
			</tr>
			
		</table>

	</ItemTemplate>
</asp:FormView>


